package com.dingli.shop.impl;


import com.dingli.shop.biz.GoodsBiz;
import com.dingli.shop.po.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GoodsListImpl implements GoodsBiz {
    @Autowired
    private GoodsBiz goodsBiz;

    @Override
    public List<Goods> getGoodList(Map map) {
        return goodsBiz.getGoodList(map);
    }

    @Override
    public int getCount() {
        return goodsBiz.getCount();
    }

    @Override
    public void delGoodsBuyID(int id) {
        goodsBiz.delGoodsBuyID(id);
    }


}
